<%--
 *  File:    CoreOrgBrief.jsp
 *  @Author: lindaxu
 *  Date:    2005/03/08
 *
 *  Copyright (C) 2000 - 2002 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page import="com.oval.util.*" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>
<%@ taglib uri="/WEB-INF/custom-tag.tld" prefix="custom" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="scustom" %>


<% //--------------------------------------  setting logger --%>
<%
  	Category cat = Category.getInstance("jsp.CoreOrgBrief");  
%>

<% //--------------------------------------  variant and initialization --%>
<%
	  String strModuleName = "BIEE";
    String strTableName = "ovnotes1";
    String privilegeCode = "Z0408";
  	
  	//get current userinfo
  	HashMap CurUserInfo = (HashMap)session.getAttribute("userinfo");
  	cat.debug("The userinfo is :"+CurUserInfo);
  	cat.info("enter my page");
%>

<% //--------------------------------------  include files list --%>

<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/FrmDefault.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>

<html>
<head>
<title>coreorgbrief</title>
<PageFlow:CheckPageFlow pageName="coreorgbrief"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="../css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="../js/FuncLib.js"></script>
<script language="JavaScript">
function page_save()
{
   document.frm.target = "_self";
   document.frm.actionname.value = "save";
   isRunning = true;
   document.frm.submit();    	
}   

function page_cancel()
{
  //window.close();
  document.frm.nc.value = "";
  return;
}
</script>
</head>
  <%     
     Vector v_Aboutus = (Vector)pageContext.getAttribute("hpaboutus");
     if (v_Aboutus == null) 
     {
       v_Aboutus = new Vector();
     }
     String aboutUs = "";
     Integer notesid=null;
     Integer noteslangid=null;
     if(v_Aboutus.size() > 0)
     {
        aboutUs = (String)(((HashMap)v_Aboutus.elementAt(0)).get("nc"));
        notesid = (Integer)(((HashMap)v_Aboutus.elementAt(0)).get("notesid"));
        noteslangid = (Integer)(((HashMap)v_Aboutus.elementAt(0)).get("noteslangid"));
     }
  %>       

<body>
<form name="frm" method="post" action="../Dispatcher"  target="_parent">
    <input type="hidden" name="pagename" value="coreorgbrief">
    <input type="hidden" name="actionname">
    <input type="hidden" name="languagecode" value="<%= strLanguageCode %>">

<%@ include file="/inc/PageLocation.inc" %>

<table width="100%" cellspacing="0">
  <tr> 
    
  </tr>
</table>     
<table width="50%" cellspacing="0" border="0" cellpadding="0" align="center">
  <tr> 
    <td class="summary_top"> 
      <table width="100%" border="0" cellspacing="0">
        <tr> 
          <td class="summary_top" colspan="2" ></td>
        </tr>
        <tr> 
          <td height="26">&nbsp;</td>
          <td height="26">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <div align="center"><b><font face="Arial, Helvetica, sans-serif" size="2"><%=label.getLabelName("L_OrgIntro")%></font></b></div>
    </td>
  </tr>
  <tr> 
    <td>
      <oval:textarea property="nc" value="<%= aboutUs %>" cols="80" rows="25" />
       <input type="hidden" name="notesid" value="<%=JspHelper.filterNull( notesid )%>">
       <input type="hidden" name="noteslangid" value="<%=JspHelper.filterNull( noteslangid )%>">
    </td>
  </tr>
  <tr> 
    <td class="summary_top"></td>
  </tr>
  <tr> 
    <td class="td_center">
      <a onclick="page_save()"><scustom:button type="1" label="L_Save" imgsrc="finish.gif" border="0" style="width:60" privilegeCode="MB-GSJJ01" /></a>
      <%--<a onclick="page_cancel()"><custom:button type="1" label="L_Cancel" imgsrc="cancel.gif" border="0" style="width:60"/></a>--%>
    </td>
  </tr>
</table>
</body>
</html>
